package com.mairuide.phone.phonetitle;

import com.mairuide._frame.base.BaseRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Auther: zyj
 * @Date: 2019/3/28 15:26
 * @Description:
 */
@Repository
public interface PhoneTitleDao extends BaseRepository<PhoneTitle> {
    //根据标题名查询一条标题信息
    PhoneTitle findByTitleName(String ss);
    //根据标题父级id和创建者id获取标题集合
    List<PhoneTitle> findByCorrespondingAndIsDelete(Integer codeId,Integer isdelete);
    //根据标题名模糊查询,
    List<PhoneTitle> findByTitleNameLike(String bankTitleName);
}
